using IBS.Model;

namespace IBS.ServiceContracts
{
    public interface ISecurityService
    {
        bool IsCardOwner(Card card, string userName);
        bool IsAccountOwner(Account account, string userName);
        bool IsPaymentOwner(Payment payment, string userName);
        bool IsAutoPaymentOwner(AutoPayment autoPayment, string userName);
    }
}